package com.nokia.mid.ui;

import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;

final class a implements DirectGraphics {
  Graphics a;
  
  
  static final int[][] data = new int[][] { { 0, 24756 }, { 16384, 8372 }, { 8192, 16564 }, { 180, 24576 }, { 16474, 8462 }, { 270, 24666 }, { 90, 24846 }, { 8282, 16654 } };
  
  public a(Graphics paramGraphics) {
    this.a = paramGraphics;
    //this.data = paramGraphics.getImpl();
  }
  
  private static int a(int paramInt) {
    for (byte b = 0; b < data.length; b++) {
      for (byte b1 = 0; b1 < (data[b]).length; b1++) {
        if (data[b][b1] == paramInt)
          return b; 
      } 
    } 
    return 0;
  }
  
  public final void drawImage(Image paramImage, int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
    
  }
  
  public final void drawPixels(short[] paramArrayOfshort, boolean paramBoolean, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, int paramInt8) {
   
  }
  
  public final void drawPixels(byte[] paramArrayOfbyte1, byte[] paramArrayOfbyte2, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, int paramInt8) {
  }
  
  public final void drawPixels(int[] paramArrayOfint, boolean paramBoolean, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, int paramInt8) {
   
  }
  
  public final void drawPolygon(int[] paramArrayOfint1, int paramInt1, int[] paramArrayOfint2, int paramInt2, int paramInt3, int paramInt4) {
   
  }
  
  public final void drawTriangle(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7) {
    drawPolygon(new int[] { paramInt1, paramInt3, paramInt5 }, 0, new int[] { paramInt2, paramInt4, paramInt6 }, 0, 3, paramInt7);
  }
  
  public final void fillPolygon(int[] paramArrayOfint1, int paramInt1, int[] paramArrayOfint2, int paramInt2, int paramInt3, int paramInt4) {
   
  }
  
  public final void fillTriangle(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7) {
    fillPolygon(new int[] { paramInt1, paramInt3, paramInt5 }, 0, new int[] { paramInt2, paramInt4, paramInt6 }, 0, 3, paramInt7);
  }
  
  public final int getAlphaComponent() {
    return this.a.getColor() >> 24 & 0xFF;
  }
  
  public final int getNativePixelFormat() {
    return 4444;
  }
  
  public final void getPixels(int[] paramArrayOfint, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7) {
    //a(this.a.getImage(), paramArrayOfint, paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6);
  }
  
  public final void getPixels(short[] paramArrayOfshort, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7) {
    //a(this.a.getImage(), paramArrayOfshort, paramInt1, paramInt2, paramInt3, paramInt4, paramInt5, paramInt6);
  }
  
  public final void getPixels(byte[] paramArrayOfbyte1, byte[] paramArrayOfbyte2, int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7) {
  }
  
  public final void setARGBColor(int paramInt) {
    this.a.setColor(paramInt, true);
  }
}
